package com.cxz.study.infra.repo.order;

import com.cxz.study.domain.order.Order;
import com.cxz.study.infra.repo.order.entity.OrderDO;
import com.cxz.study.domain.order.orderId.OrderIdMapper;
import org.mapstruct.Mapper;

/**
 * @className: OrderMapper
 * @author: ocxz1
 * @date: 2025/6/15 上午11:12
 * @Version: 1.0
 * @description: ddd-struct3
 */
@Mapper(uses = OrderIdMapper.class)
public interface OrderMapperStruct {

    OrderDO toOrderDO(Order order);

    Order toOrder(OrderDO orderDO);
}

    
    